#ifndef MEDIACENTER_H_
#define MEDIACENTER_H_
#include <string>
#include <list>
using namespace std;

class Player;

class MediaCenter
{
public:
	MediaCenter() : activePlayer(0) {}
	virtual ~MediaCenter() {}
	
	virtual bool PlayerChanged(Player* player, const string& action);
	virtual void addPlayer(Player* player);
	virtual void removePlayer(Player* player);
	
	virtual void start(Player* player);
	virtual void stop();
	virtual void forward();
	virtual void rewind();

private:
	Player* activePlayer;
	list<Player*> players;	
};

#endif /*MEDIACENTER_H_*/